<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4013/diff.diff_master_master^_side, branch main</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=main</id>
<link rel='self' href='https://git.shady.money/git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2025-09-10T20:34:59Z</updated>
<entry>
<title>t4013: switch default branch name to main</title>
<updated>2025-09-10T20:34:59Z</updated>
<author>
<name>Phillip Wood</name>
<email>phillip.wood@dunelm.org.uk</email>
</author>
<published>2025-09-10T15:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=877176e0b01ea6aff551fa80734116a45748c6a3'/>
<id>urn:sha1:877176e0b01ea6aff551fa80734116a45748c6a3</id>
<content type='text'>
Remove one of the last remaining uses of
"TEST_GIT_DEFAULT_INITIAL_BRANCH= main" in the test suite. We have
been steadily be converting tests from using "master" as the default
branch name since the introduction of TEST_GIT_DEFAULT_INITIAL_BRANCH
in 704fed9ea22 (tests: start moving to a different default main branch
name, 2020-10-23) The changes here are purely mechanical replacing
"master" with "main"

Signed-off-by: Phillip Wood &lt;phillip.wood@dunelm.org.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>"git diff &lt;tree&gt;{3,}": do not reverse order of arguments</title>
<updated>2008-10-12T19:36:19Z</updated>
<author>
<name>Matt McCutchen</name>
<email>matt@mattmccutchen.net</email>
</author>
<published>2008-10-11T01:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b75271d93a9e4be960d53fc4f955802530e0e733'/>
<id>urn:sha1:b75271d93a9e4be960d53fc4f955802530e0e733</id>
<content type='text'>
According to the message of commit 0fe7c1de16f71312e6adac4b85bddf0d62a47168,
"git diff" with three or more trees expects the merged tree first followed by
the parents, in order.  However, this command reversed the order of its
arguments, resulting in confusing diffs.  A comment /* Again, the revs are all
reverse */ suggested there was a reason for this, but I can't figure out the
reason, so I removed the reversal of the arguments.  Test case included.

Signed-off-by: Matt McCutchen &lt;matt@mattmccutchen.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
